Version

CreateLargestFont(AppearanceData[],Font,GdiDrawStringFlags) Method

Creates the largest of the fonts among the specified appearances.
Syntax
'Declaration
 
Public Overloads Shared Function CreateLargestFont( _
   ByVal appearances() As AppearanceData, _
   ByVal baseFont As Font, _
   ByVal gdiDrawStringFlags As GdiDrawStringFlags _
) As Font
public static Font CreateLargestFont( 
   AppearanceData[] appearances,
   Font baseFont,
   GdiDrawStringFlags gdiDrawStringFlags
)

Parameters

appearances
The list of appearances used to determine the largest font.
baseFont
The default font to use when a font is not specified on an appearance.
gdiDrawStringFlags
The GdiDrawStringFlags used to render the font.

Return Value

A System.Drawing.Font object representing the largest font among the specified appearances.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also